#define _CRT_SECURE_NO_WARNINGS
#include "stack.h"


int main()
{
	ST st;
	STInit(&st);
	/*STPush(&st, 1);*/
	STPush(&st, 2);
	STPush(&st, 3);
	/*STPop(&st);*/
	while (!STEmpty(&st))
	{
		/*STDatatype ret = STTop(&st);*/
		printf("%d ", STTop(&st));
		STPop(&st);
	}

	STDestroy(&st);
	return 0;
}